SymbolicIdentityArray
SymbolicIdentityArray[{n1,n2,…}] represents an n1×n2×…×n1×n2×… array with elements ai1,i2,…,j1,j2,… equal to 1 if all ikjk, and 0 otherwise.
Please visit the official Wolfram Language Reference for more details and examples on core symbols.